<%--
  Created by IntelliJ IDEA.
  User: Kinder2003
  Date: 2022/5/6
  Time: 8:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>登录界面</title>
</head>

<body>

<form action="login.do" method="post" >
    <input type="hidden" name="username" value="youke">
    <input type="hidden" name="password" value="youke">
    <input type="hidden" name="userType" value="4">
    <input type="submit" value="游客登录">
</form>

<form action="login.do" method="post">
    <h1 align="center">广工七八饭登录系统</h1>
    <table align="center" border="1" width="500">
        <div class="info" align="center">${error}</div>
        <tr>
            <td><label for="username"></label>用户名</td>
            <td><input type="text" name="username" id="username" placeholder="请输入用户名" ></td>
        </tr>

        <tr>
          <td><label for="password"></label>密码</td>
          <td><input type="password" name="password" id="password" placeholder="请输入密码"></td>
        </tr>
<br>

</tr>

        <td>
            <label>身份:</label>
            <input type="radio" name="userType" value="1" checked="checked"/>管理员
            <input type="radio" name="userType" value="2"/>商家
            <input type="radio" name="userType" value="3"/>用户

        </td>

        <tr>
            <td><input type="reset" value="重置"></td>
            <td><input type="submit" value="提交"/></td>
        </tr>
        <tr>
            <td>没有账号？<a href="regist.jsp">点此注册</a></td>
        </tr>
        <%--在这里做一个隐藏表单，给定账号密码--%>


    </table>

</form>
</body>
</html>
